package cn.sinobest.pe.engine;

import cn.sinobest.knob.core.rpc.JobState;


/**
 * 任务状态
 * @author wuxinxue
 * @time 2015-6-11 下午6:10:03
 * @copyright hnisi
 */
public class TaskStatus {
	
	private JobState state;

	private long outLine;
	
	/**
	 * 任务执行情况
	 * @param status 任务状态
	 * @param outLine 任务执行output的数据记录数
	 */
	public TaskStatus(JobState state, long outLine) {
		this.state = state;
		this.outLine = outLine;
	}


	/**
	 * @return the state
	 */
	public JobState getState() {
		return state;
	}

	/**
	 * @param state the state to set
	 */
	public void setState(JobState state) {
		this.state = state;
	}

	/**
	 * @return the outLine
	 */
	public long getOutLine() {
		return outLine;
	}

	/**
	 * @param outLine the outLine to set
	 */
	public void setOutLine(long outLine) {
		this.outLine = outLine;
	}

}
